package com.twu.biblioteca.factories;

import com.twu.biblioteca.domain.Library;
import com.twu.biblioteca.domain.Movie;

public class LibraryFactory {

    public static Library create(){
        Library library = new Library();

        library.addBook("TDD By Example");
        library.addBook("Growing Object-Oriented Software, Guided by Tests");
        library.addBook("Clean Code");

        library.addMovie("Fight Club", 1999, "Some Name", 9);
        library.addMovie("The Matrix", 1999, "Andy Wachowski", 8);
        library.addMovie("The Godfather", 1972, "Francis Ford Coppola", 9);
        library.addMovie("Monsters University", 2013, "Dan Scanlon", Movie.NOT_RATED);
        library.addMovie("World War Z", 2013, "Marc Forster", Movie.NOT_RATED);
        library.addMovie("Crossover", 2006, "Preston A. Whitmore II", 2);
        library.addMovie("Yes Sir", 2007, "Taner Akvardar", 2);
        library.addMovie("Star Trek", 2009, "J.J. Abrams", 8);
        library.addMovie("Monsters, Inc.", 2001, "Pete Docter", 8);
        library.addMovie("V for Vendetta", 2005, "James McTeigue", 8);
        library.addMovie("Up", 2009, "Pete Docter", 8);
        library.addMovie("The Dark Knight", 2008, "Christopher Nolan", 9);
        library.addMovie("Nosferatu", 1922, "F. W. Murnau", 7);
        library.addMovie("Harvey", 1950, "Henry Koster", 8);
        library.addMovie("Despicable Me 2", 2013, "Pierre Coffin", Movie.NOT_RATED);


        return library;
    }
}
